package org.ddd.orderdemo.application.event;

import java.io.Serializable;

public class Event implements Serializable {

    private long id;

    private Object data;

    public Event() {
    }

    public Event(long id, Object data) {
        this.id = id;
        this.data = data;
    }


    public long getId() {
        return id;
    }

    public Object getData() {
        return data;
    }
}
